import Vuex from "vuex";
import Vue from "vue";
Vue.use(Vuex);
import home from "./home";
import category from "./category";
import buy from "./buy";
import shopcart from "./shopCart";
import center from "./center";
import user from "./user";

import search from "./search"

import order from "./order";
import detail from "./detail";


export default new Vuex.Store({
  modules: {
    home,
    category,
    buy,
    shopcart,
    center,
    user,

    search,

    order,
    detail,

  },
});
